<template>
  <div>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: ["val"],
  watch: {
    val: {
      handler(newVal) {
        this.$emit("newVal", newVal.length);
      },
    },
  },
};
</script>

<style scoped></style>
